package com.hzjy.api.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzjy.common.annotation.Excel;
import com.hzjy.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户账单对象 hzjy_user_bill
 *
 * @author hzjy
 * @date 2020-08-26
 */
public class HzjyUserBill extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 合同编号
     */
    @Excel(name = "合同编号")
    private String contractNo;

    /**
     * 成交时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "成交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date dealTime;

    /**
     * 成交价格
     */
    @Excel(name = "成交价格")
    private BigDecimal dealPrice;

    /**
     * 成交主体
     */
    @Excel(name = "成交主体")
    private String dealSubject;

    /**
     * 成交作品id
     */
    @Excel(name = "成交作品id")
    private String productId;

    /**
     * 1：完成;0未完成
     */
    @Excel(name = "1：完成;0：未完成")
    private Integer status;

    private String productName;

    private String orderNo;

    private Long contractId;

    /**
     * 成交时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;

    //筛选结束时间
    private String finishime;

    //登录人
    private String userId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setDealTime(Date dealTime) {
        this.dealTime = dealTime;
    }

    public Date getDealTime() {
        return dealTime;
    }

    public void setDealPrice(BigDecimal dealPrice) {
        this.dealPrice = dealPrice;
    }

    public BigDecimal getDealPrice() {
        return dealPrice;
    }

    public void setDealSubject(String dealSubject) {
        this.dealSubject = dealSubject;
    }

    public String getDealSubject() {
        return dealSubject;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductId() {
        return productId;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getFinishime() {
        return finishime;
    }

    public void setFinishime(String finishime) {
        this.finishime = finishime;
    }
}
